diff -Naur xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp xvst/src/qtsingleapplication/src/qtlocalpeer.cpp
--- xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp	2009-10-12 03:43:46.000000000 +0000
+++ xvst/src/qtsingleapplication/src/qtlocalpeer.cpp	2012-07-02 04:24:37.152806791 +0000
@@ -57,6 +57,7 @@
 #endif
 #if defined(Q_OS_UNIX)
 #include <time.h>
+#include <unistd.h>
 #endif
 
 namespace QtLP_Private {
